package com.sfy.core.example.loadbalancer;

import com.sfy.core.example.model.ServiceMetaInfo;

import java.util.List;
import java.util.Map;
import java.util.Random;

public class RandomLoadBalancer implements LoadBalancer{

    private final Random random = new Random();
    @Override
    public ServiceMetaInfo select(Map<String, Object> requestParams,
                                  ServiceMetaInfo serviceMetaInfo) {

        return serviceMetaInfo;
    }
}
